Language Makefiles -- details

SNiFF+'s Language Makefiles are located in your

$SNIFF_DIR/make_support directory. In it, you'll find the following Makefiles:

Language Makefile | Description
general.link.mk | Rules for executable, relinkable object and library targets
general.c.mk | Rules for C, C++, pro*C/C++ compilers
general.fortran.mk | Rules for Fortran compiler
general.idl.mk | Rules for IDL compiler
general.java.mk | Rules for Java compiler
general.ada.mk | Rules for Ada compiler
general.yl.mk | Rules for yacc and lex
general.ilog.mk | Rules for ILog Broker preprocessor

Specifying Language Makefiles:

To specify Language Makefiles for all new projects, choose Tools > Preferences.... To specify Language Makefiles for an existing project, open the project's Project Attributes dialog.
Select the File Types node.
Select the appropriate file type in the File Types List. If you need to first create one:

- Select a file type in the File Types List whose attributes most closely match the new file type's attributes and press the New... button.
- In the dialog that appears, give the new file type a name and press the Ok button.
- Set the new file type's attributes.

Select the new file type.
Select the Build System tab.
In the General Makefile field, enter the full path name of the Language Makefile for the file type, for example:

$SNIFF_DIR/make_support/general.c.mk
or
Press the File... button and in the dialog that appears, navigate to the Language Makefile and press Open.
When specifying multiple Makefiles, use spaces as delimiters.
Press the Ok button.